package com.wuuxiang.polestar.demo.springboot;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**********************************************************
 * 类名称：aaa 	<br>
 * 类描述：   				<br>
 * 创建人：liuwei 			<br>
 * 创建时间：2018年1月5日上午10:13:41	<br>
 * 修改备注：   				<br>
 **********************************************************/
@Component
@ConfigurationProperties(prefix="polestar")
@PropertySource("classpath:/polestar-springboot.properties")
public class PolestartInitBean {

	private String address;
	
	private String teamName;
	
	private String loadDef;
	
	private String nodes;

	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return the teamName
	 */
	public String getTeamName() {
		return teamName;
	}

	/**
	 * @param teamName the teamName to set
	 */
	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	/**
	 * @return the loadDef
	 */
	public String getLoadDef() {
		return loadDef;
	}

	/**
	 * @param loadDef the loadDef to set
	 */
	public void setLoadDef(String loadDef) {
		this.loadDef = loadDef;
	}

	/**
	 * @return the nodes
	 */
	public String getNodes() {
		return nodes;
	}

	/**
	 * @param nodes the nodes to set
	 */
	public void setNodes(String nodes) {
		this.nodes = nodes;
	}
	
	
	
}
